printunixdialog: Plug a leak
authorMatthias Clasen <mclasen@redhat.com>
Thu, 16 Jul 2020 12:48:09 +0000 (08:48 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 16 Jul 2020 12:54:36 +0000 (08:54 -0400)
g_list_model_get_item is transfer full.

gtk/gtkprintunixdialog.c

index dab4548b495e70ba359ada9b04eec2eb9dd58570..38f35a0b877f72991bc537f179a3e32865ed534c 100644 (file)
@@ -3009,6 +3009,8 @@ paper_size_changed (GtkDropDown *combo_box,
           gtk_window_present (GTK_WINDOW (custom_paper_dialog));
           G_GNUC_END_IGNORE_DEPRECATIONS
 
+          g_object_unref (page_setup);
+
           return;
         }